package com.workManager.mapper;

import com.workManager.pojo.TbDirectExpenses;
import com.workManager.pojo.TbDirectExpensesExample;
import java.util.List;
import java.util.Map;

import com.workManager.vo.DirectExpensesVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TbDirectExpensesMapper {
    int countByExample(TbDirectExpensesExample example);

    int deleteByExample(TbDirectExpensesExample example);

    int deleteByPrimaryKey(Integer costId);

    int insert(TbDirectExpenses record);

    int insertSelective(TbDirectExpenses record);

    List<TbDirectExpenses> selectByExample(TbDirectExpensesExample example);

    TbDirectExpenses selectByPrimaryKey(Integer costId);

    int updateByExampleSelective(@Param("record") TbDirectExpenses record, @Param("example") TbDirectExpensesExample example);

    int updateByExample(@Param("record") TbDirectExpenses record, @Param("example") TbDirectExpensesExample example);

    int updateByPrimaryKeySelective(TbDirectExpenses record);

    int updateByPrimaryKey(TbDirectExpenses record);

    int batchInsert(List<TbDirectExpenses> directExpensesList);

    int batchUpdateByConditions(List<TbDirectExpenses> directExpensesList);

    List<DirectExpensesVo> query(@Param("cm") Map queryParam);

    void deleteByConditions(@Param("cm") Map<String, Object> conditionMap);
}